﻿/**  版本信息模板在安装目录下，可自行修改。
* Orders.cs
*
* 功 能： N/A
* 类 名： Orders
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2014/3/7 13:58:25   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Orders:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Orders
	{
		public Orders()
		{}
		#region Model
		private int _id;
		private string _number;
		private int _storeid;
		private int _state;
		private DateTime _dateandtime= DateTime.Now;
		private decimal _expectpricesum=0M;
		private decimal _expectbuypricesum=0M;
		private decimal _expectpay_delivery=0M;
		private decimal _expectpay=0M;
		private decimal _actualpricesum=0M;
		private decimal _actualbuypricesum=0M;
		private decimal _actualpay_delivery=0M;
		private decimal _actualpay=0M;
		private bool _isbuymoneyok_delivery= false;
		private bool _isbuymoneyok= false;
		private decimal _expressprice=0M;
		private int _expressid=0;
		private string _expressnumber="";
		private DateTime? _dateandtimesend;
		private int _buyerid=0;
		private int _senderid=0;
		private DateTime? _firstexpectbuydate;
		private bool _haspay_delivery= false;
		private bool _haspay= false;
        private int _gbid = 0;

        private int _ischeck = 0;

        private decimal _getmoney = 0M;

        public decimal Getmoney
        {
            get { return _getmoney; }
            set { _getmoney = value; }
        }

        public int Ischeck
        {
            get { return _ischeck; }
            set { _ischeck = value; }
        }

        public int Gbid
        {
            get { return _gbid; }
            set { _gbid = value; }
        }
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Number
		{
			set{ _number=value;}
			get{return _number;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int StoreID
		{
			set{ _storeid=value;}
			get{return _storeid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 订单创建时间
		/// </summary>
		public DateTime Dateandtime
		{
			set{ _dateandtime=value;}
			get{return _dateandtime;}
		}
		/// <summary>
		/// 收到货款时，预计孕婴店采购总价
		/// </summary>
		public decimal ExpectPriceSum
		{
			set{ _expectpricesum=value;}
			get{return _expectpricesum;}
		}
		/// <summary>
		/// 打采购款时，预计联盟采购总价
		/// </summary>
		public decimal ExpectBuyPriceSum
		{
			set{ _expectbuypricesum=value;}
			get{return _expectbuypricesum;}
		}
		/// <summary>
		/// 打采购款给收货员时，预计收货点支付给供货商的金额
		/// </summary>
		public decimal ExpectPay_Delivery
		{
			set{ _expectpay_delivery=value;}
			get{return _expectpay_delivery;}
		}
		/// <summary>
		/// 打采购款给采购员时，预计现场支付给供货商金额
		/// </summary>
		public decimal ExpectPay
		{
			set{ _expectpay=value;}
			get{return _expectpay;}
		}
		/// <summary>
		/// 实际孕婴店采购总价
		/// </summary>
		public decimal ActualPriceSum
		{
			set{ _actualpricesum=value;}
			get{return _actualpricesum;}
		}
		/// <summary>
		/// 实际联盟采购总价
		/// </summary>
		public decimal ActualBuyPriceSum
		{
			set{ _actualbuypricesum=value;}
			get{return _actualbuypricesum;}
		}
		/// <summary>
		/// 收货员在收货点实际支付给供货商金额
		/// </summary>
		public decimal ActualPay_Delivery
		{
			set{ _actualpay_delivery=value;}
			get{return _actualpay_delivery;}
		}
		/// <summary>
		/// 采购员现场实际支付给供货商金额
		/// </summary>
		public decimal ActualPay
		{
			set{ _actualpay=value;}
			get{return _actualpay;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool IsBuyMoneyOK_Delivery
		{
			set{ _isbuymoneyok_delivery=value;}
			get{return _isbuymoneyok_delivery;}
		}
		/// <summary>
		/// 是否：采购款已经退补完毕
		/// </summary>
		public bool IsBuyMoneyOK
		{
			set{ _isbuymoneyok=value;}
			get{return _isbuymoneyok;}
		}
		/// <summary>
		/// 物流费用
		/// </summary>
		public decimal ExpressPrice
		{
			set{ _expressprice=value;}
			get{return _expressprice;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ExpressID
		{
			set{ _expressid=value;}
			get{return _expressid;}
		}
		/// <summary>
		/// 物流单号
		/// </summary>
		public string ExpressNumber
		{
			set{ _expressnumber=value;}
			get{return _expressnumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? DateandtimeSend
		{
			set{ _dateandtimesend=value;}
			get{return _dateandtimesend;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int BuyerID
		{
			set{ _buyerid=value;}
			get{return _buyerid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int SenderID
		{
			set{ _senderid=value;}
			get{return _senderid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? FirstExpectBuyDate
		{
			set{ _firstexpectbuydate=value;}
			get{return _firstexpectbuydate;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool HasPay_Delivery
		{
			set{ _haspay_delivery=value;}
			get{return _haspay_delivery;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool HasPay
		{
			set{ _haspay=value;}
			get{return _haspay;}
		}
		#endregion Model

	}
}

